VtSetAppValues


Set options for a script (applet)

Syntax

VtSetAppValues app_widgetName [options]

Description

Sets the options for the script (applet). app_widgetName is the value returned when VtOpen was executed to create the application.

Options

-columnValue AVERAGE | MAXIMUM
Used to determine the number of pixels per character for the -columns option. If AVERAGE, then the width of the average character in the font is used. If MAXIMUM, then the width of the largest character in the font is used. The default is AVERAGE. This option has no effect in character mode.

-versionString string (S)
Sets the version string string for a script. This is displayed when On version is picked from the Help menu.

-errorCallback cmd (C)
Sets command cmd as the procedure to call when an error occurs in a callback. When an error occurs, IXI Visual Tcl will go up the object tree until it finds an errorCallback to handle the error.

Additional callback keys

result
Tcl Result string, the error string.

callback
Callback that caused the error.

errorCode
Return code from Tcl eval.